package cn.tedu;

import java.sql.Connection;
import java.sql.SQLException;
import java.sql.Statement;

public class Demo02 {
    public static void main(String[] args) {
        try (Connection conn= DBUtils.getConn()){
            Statement s = conn.createStatement();
            s.execute("insert  into car values (null,'大众','轿车',20),(null,'日产','轿车',30),(null,'东风','货车',50)");
            System.out.println("增加完成!");
        } catch (SQLException throwables) {
            throwables.printStackTrace();
        }

    }
}
